package com.zone.sdk.module.account.entity;

import com.zone.sdk.common.http.base.BaseEntity;

import java.io.Serializable;

/**
 * @Author: pkqlqx
 * @CreateDate: 2021/12/14 9:12
 * @Description:
 */
public class QrLoginPollEntity extends BaseEntity {

    private static final long serialVersionUID = 1751656119053326842L;

    private String code_id;
    private int status;
    private Token token;

    public String getCode_id() {
        return code_id;
    }

    public void setCode_id(String code_id) {
        this.code_id = code_id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Token getToken() {
        return token;
    }

    public void setToken(Token token) {
        this.token = token;
    }

    public static class Token implements Serializable {

        private static final long serialVersionUID = -3450117213531197808L;

        private String access_token;
        private String refresh_token;
        private String access_token_exp;
        private String refresh_token_exp;

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public String getRefresh_token() {
            return refresh_token;
        }

        public void setRefresh_token(String refresh_token) {
            this.refresh_token = refresh_token;
        }

        public String getAccess_token_exp() {
            return access_token_exp;
        }

        public void setAccess_token_exp(String access_token_exp) {
            this.access_token_exp = access_token_exp;
        }

        public String getRefresh_token_exp() {
            return refresh_token_exp;
        }

        public void setRefresh_token_exp(String refresh_token_exp) {
            this.refresh_token_exp = refresh_token_exp;
        }
    }
}
